package cn.webrx.mapper;

import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface BookMapper {
    public List<Map<String,Object>> queryAll();

    @Delete("delete from wx_book where book_id = #{id}")
    public int delById(int id);
}
